This page last changed on Dec 13, 2004 by casey.

HttpHeader

使用值栈定义HTTP头信息.

参数 必需 描述
status HTTP响应的状态码
parse 缺省为true. 如果设为false, location参数将不作为Ognl表达式进行解析
headers 头信息的值

Example:
<result name="success" type="header">
    <param name="status">204</param>
    <param name="headers.a">a custom header value</param>
    <param name="headers.b">another custom header value</param>
</result>
Document generated by Confluence on Dec 14, 2004 16:36